Friday, October 07, 2005

Nant and sequence numbers?

I would like to start using cc.net and nant to produce some unit tests. I'm workign on some additions to web services and want to do unit/functional testing. Each request we make for a new order we need a unique reference number. I wanted Nant to track a sequence number, i.e. xmlWS_UnitTest-1, -2, -3, etc...

Does anyone know how to have nant do that or come up with a series of targets for nant to do that?

Also, does anyone have any experience with using unit testing and web services. What I'm thinking of doing is creating a class (using C#) that inherits from nunit and having each class look for an xml file and sumbitting it to test that the order was placed. I know that's not really unit testing since I'm testing the entire process, it's more like functional testing but it should still be possible. If anyone has seen anyposts please let me know. Thanks?

No comments: